package com.cjm.one.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.custom.entity.CustomAddress;

public interface CustomerAddressService {
    Result<Page<CustomAddress>> list(Integer current, Integer size);

    Result<Boolean> add(CustomAddress customAddress);

    Result<Boolean> delete(Long id);

    Result<Boolean> update(CustomAddress customAddress);

    Result<CustomAddress> getById(Long id);

    Result<CustomAddress> getAddressDefaultInfo();
}
